﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SHDocVw;
using Shell32;
using System.Diagnostics;

namespace Pipes.Interop
{
  public class ShellWindow
  {
    public static void GetWindows()
    {
      IShellFolderViewDual2 view;

      foreach (InternetExplorer win in new ShellWindows())
      {
        Debug.Print(win.LocationURL);
        view = (IShellFolderViewDual2)win.Document;
        
      }
      
    }
  }
}
